package com.ruoyi.community.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社区电商对象 ec_restaurants
 * 
 * @author ruoyi
 * @date 2021-08-15
 */
public class EcRestaurants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long restaurantId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String address;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String imagePath;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String description;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Double rating;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer checkState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer categoryId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String phone;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer totalOrderNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer mouthOrderNum;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float minDeliveryPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float deliveryPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Float averagePrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer communityId;

    public void setRestaurantId(Long restaurantId) 
    {
        this.restaurantId = restaurantId;
    }

    public Long getRestaurantId() 
    {
        return restaurantId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setRating(Double rating) 
    {
        this.rating = rating;
    }

    public Double getRating() 
    {
        return rating;
    }
    public void setCheckState(Integer checkState) 
    {
        this.checkState = checkState;
    }

    public Integer getCheckState() 
    {
        return checkState;
    }
    public void setCategoryId(Integer categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Integer getCategoryId() 
    {
        return categoryId;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setTotalOrderNum(Integer totalOrderNum) 
    {
        this.totalOrderNum = totalOrderNum;
    }

    public Integer getTotalOrderNum() 
    {
        return totalOrderNum;
    }
    public void setMouthOrderNum(Integer mouthOrderNum) 
    {
        this.mouthOrderNum = mouthOrderNum;
    }

    public Integer getMouthOrderNum() 
    {
        return mouthOrderNum;
    }
    public void setMinDeliveryPrice(Float minDeliveryPrice)
    {
        this.minDeliveryPrice = minDeliveryPrice;
    }

    public Float getMinDeliveryPrice()
    {
        return minDeliveryPrice;
    }
    public void setDeliveryPrice(Float deliveryPrice)
    {
        this.deliveryPrice = deliveryPrice;
    }

    public Float getDeliveryPrice()
    {
        return deliveryPrice;
    }
    public void setAveragePrice(Float averagePrice)
    {
        this.averagePrice = averagePrice;
    }

    public Float getAveragePrice()
    {
        return averagePrice;
    }
    public void setCommunityId(Integer communityId) 
    {
        this.communityId = communityId;
    }

    public Integer getCommunityId() 
    {
        return communityId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("restaurantId", getRestaurantId())
            .append("name", getName())
            .append("address", getAddress())
            .append("imagePath", getImagePath())
            .append("description", getDescription())
            .append("rating", getRating())
            .append("checkState", getCheckState())
            .append("categoryId", getCategoryId())
            .append("phone", getPhone())
            .append("totalOrderNum", getTotalOrderNum())
            .append("mouthOrderNum", getMouthOrderNum())
            .append("minDeliveryPrice", getMinDeliveryPrice())
            .append("deliveryPrice", getDeliveryPrice())
            .append("averagePrice", getAveragePrice())
            .append("communityId", getCommunityId())
            .toString();
    }
}
